]> dgit.raspbian.org Git - gnome-shell.git/commit
workspacesView: Update visibily when gesture drag begins
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 10 Jul 2020 13:41:09 +0000 (10:41 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 10 Jul 2020 14:14:12 +0000 (11:14 -0300)
commit0893789b34419a944e5b44e83ea52766bbb3db97
treedc06801df17a7e63f564ef2418a2312b6b901d6b
parent7b5c6b657ac5adf21593b4ec47c8ac3009dcaa21
workspacesView: Update visibily when gesture drag begins

When dragging the workspaces through the swipe gesture, all
workspaces must be visible. WorkspacesView's _updateVisibility()
method special-cases this and ensures that.

However, this method is only called when (1) going to the active
workspace, and (2) when the gesture ends. That means, if there
is any workspace hidden by the time a gesture starts, it is never
shown!

Call _updateVisibility() on startTouchGesture() as well.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1360
js/ui/workspacesView.js